//
// Created by cls on 2024/12/1.
//

#include "example.h"

void hello()
{
    printf("Hello from the shared library!\n");
}

void test(int a)
{
    printf("Test from the shared library! parameter is %d\n",a);
}

bool test01()
{
    // 创建目录的路径地址
    const char* path = "/Users/cls/Documents/ClionPosition/demo_c/day1201";

    if (mkdir(path,0755) == -1)
    {

        perror("mkdir failed");

        return false;
    }

    printf("Directory created successfully!\n");

    return true;
};

